package com.gitee.feizns.zxw.service.api.impl;

import com.gitee.feizns.zxw.domain.pojo.DestinationCulturesRecommendCultures;
import com.gitee.feizns.zxw.domain.portal.vo.destination.cultures.recommend.cultures.ListVo;
import com.gitee.feizns.zxw.service.api.ApiDestinationCulturesRecommendCulturesService;
import com.gitee.feizns.zxw.utils.condition.CulturesUtils;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author feizns
 * @since 2019/9/10
 */
@Service
public class ApiDestinationCulturesRecommendCulturesServiceImpl implements ApiDestinationCulturesRecommendCulturesService {

    @Override
    public List<ListVo> list(Integer id) {
        return new DestinationCulturesRecommendCultures().selectList(ListVo.class, CulturesUtils.cultureIdEq(id));
    }

}
